package com.example.springboot.service;

import com.example.springboot.pojo.LeaveRequest;
import com.example.springboot.pojo.PageBean;

public interface LeaveRequestService {
    PageBean<LeaveRequest> getList(Integer pageNum,Integer pageSize);

    void addRequest(String workerId, String detail, String start, String end);

    void pass(Integer id);

    void refuse(Integer id);

    PageBean<LeaveRequest> getByWorkerId(Integer pageNum, Integer pageSize, String workerId);
}
